package eg.backend.manager;

import org.springframework.transaction.annotation.Transactional;

import eg.backend.domain.User;

@Transactional
public interface UserManager {
	User logonUser(String username, String password);
	
	User getCurrentUser();
	
	String getCurrentUserId();
	
	String getCurrentUsername();
	
	User createUser(String username, String password);
	
	void changePassword(String password);
}
